import java.util.Scanner;

public class demo10 {
    public static void main(String[] args) {
        double num1=80;
        double num2=60;
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入你要买的男装数量");
        int man=sc.nextInt();
        System.out.println("请输入你要买的女装数量");
        int woman=sc.nextInt();
        System.out.println("请输入你要买的店铺");
        int shop=sc.nextInt();

//        if (shop==1){
//            num1=man*num1*0.6;
//            num2=woman*num2*0.3;
//            System.out.println("你需要支付的金额为"+(num1+num2));
//        }else if (shop==2){
//            num1=man*num1*0.8;
//            num2=woman*num2*0.4;
//            System.out.println("你需要支付的金额为"+(num1+num2));
//        }
//        else if (shop==3){
//            num1=man*num1*0.9;
//            num2=woman*num2;
//            System.out.println("你需要支付的金额为"+(num1+num2));
//        }

        switch (shop){
            case 1:
                num1=man*num1*0.6;
                num2=woman*num2*0.3;
                System.out.println("你需要支付的金额为"+(num1+num2));break;
            case 2:
                num1=man*num1*0.8;
                num2=woman*num2*0.4;
                System.out.println("你需要支付的金额为"+(num1+num2));break;
            case 3:
                num1=man*num1*0.9;
                num2=woman*num2;
                System.out.println("你需要支付的金额为"+(num1+num2));break;
        }
    }
}
